package com.bw.zg3.Tab

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.alibaba.android.arouter.launcher.ARouter
import com.bw.base.mvvm.BaseFragment
import com.bw.base.mvvm.BaseViewModel
import com.bw.base.net.ApiServer
import com.bw.zg3.Cate.New.NewApter
import com.bw.zg3.Home.HomeViewModel
import com.bw.zg3.R
import com.bw.zg3.databinding.FragmentCateBinding
import javax.inject.Inject

class CateFragment :BaseFragment<FragmentCateBinding,HomeViewModel>() {

    override fun initView() {
        //新闻
       binding.new1.setOnClickListener {
           ARouter.getInstance().build("/app/NewActivity").navigation()
       }
        //车辆管理
        binding.c1.setOnClickListener {
            ARouter.getInstance().build("/app/CLActivity").navigation()
        }
        //维修
        binding.wx.setOnClickListener {
            ARouter.getInstance().build("/app/WXActivity").navigation()
        }
    }

    override fun intiData() {

    }


}